package com.ruoyi.project.charging.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 控制字位数据对象 c_charging_bit
 * 
 * @author Yaoxuan Mo
 * @date 2025-07-28
 */
public class CChargingBit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 控制字位ID */
    private Long bitId;

    /** 控制字位代码 */
    @Excel(name = "控制字位代码")
    private String bitCod;

    /** 控制字位名称（名称为空的为客户未提供，可能暂时无用） */
    @Excel(name = "控制字位名称", readConverterExp = "名=称为空的为客户未提供，可能暂时无用")
    private String bitNam;

    /** 控制字位位序 */
    @Excel(name = "控制字位位序")
    private Long bitSeq;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isSafe;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isEnable;

    /** 设备代码 */
    @Excel(name = "设备代码")
    private String deviceCod;

    /** 总控器代码 */
    @Excel(name = "总控器代码")
    private String collectorCod;

    /** 项目代码 */
    @Excel(name = "项目代码")
    private String projectCod;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceNam;

    public void setBitId(Long bitId) 
    {
        this.bitId = bitId;
    }

    public Long getBitId() 
    {
        return bitId;
    }
    public void setBitCod(String bitCod) 
    {
        this.bitCod = bitCod;
    }

    public String getBitCod() 
    {
        return bitCod;
    }
    public void setBitNam(String bitNam) 
    {
        this.bitNam = bitNam;
    }

    public String getBitNam() 
    {
        return bitNam;
    }
    public void setBitSeq(Long bitSeq) 
    {
        this.bitSeq = bitSeq;
    }

    public Long getBitSeq() 
    {
        return bitSeq;
    }
    public void setIsSafe(String isSafe) 
    {
        this.isSafe = isSafe;
    }

    public String getIsSafe() 
    {
        return isSafe;
    }
    public void setIsEnable(String isEnable) 
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable() 
    {
        return isEnable;
    }
    public void setDeviceCod(String deviceCod) 
    {
        this.deviceCod = deviceCod;
    }

    public String getDeviceCod() 
    {
        return deviceCod;
    }
    public void setCollectorCod(String collectorCod) 
    {
        this.collectorCod = collectorCod;
    }

    public String getCollectorCod() 
    {
        return collectorCod;
    }
    public void setProjectCod(String projectCod) 
    {
        this.projectCod = projectCod;
    }

    public String getProjectCod() 
    {
        return projectCod;
    }
    public void setDeviceNam(String deviceNam) 
    {
        this.deviceNam = deviceNam;
    }

    public String getDeviceNam() 
    {
        return deviceNam;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bitId", getBitId())
            .append("bitCod", getBitCod())
            .append("bitNam", getBitNam())
            .append("bitSeq", getBitSeq())
            .append("isSafe", getIsSafe())
            .append("isEnable", getIsEnable())
            .append("deviceCod", getDeviceCod())
            .append("collectorCod", getCollectorCod())
            .append("projectCod", getProjectCod())
            .append("deviceNam", getDeviceNam())
            .toString();
    }
}
